package com.ly.heart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.CustomerVisitEntity;
import com.ly.heart.domain.dto.CustomerVisitDto;
import com.ly.heart.domain.vo.CustomerVisitVo;

import java.util.List;

/**
 * <p>
 * 客户拜访申请 服务类
 * </p>
 *
 * @author WuZH
 * @since 2024-09-29
 */
public interface ICustomerVisitService extends IService<CustomerVisitEntity> {

    AjaxResult list ( CustomerVisitEntity customerVisitEntity );

    CustomerVisitVo querySingle ( String id );

    AjaxResult draft ( CustomerVisitDto customerVisitDto );

    AjaxResult submit ( CustomerVisitEntity customerVisitEntity );

    AjaxResult updateSingle ( CustomerVisitDto customerVisitDto );

    AjaxResult deleteSingle ( String id );

}
